package com.example.jobback.req.recruiter.position.publish;

import com.example.jobback.common.enums.Edu;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @ClassName: PublishPositionReq
 * @Description: 发布岗位请求体
 * @Author: lhb
 * @Date: 2025/5/30
 */
@Data
@Schema(title = "发布岗位请求体")
public class PublishPositionReq {

    @Schema(title = "岗位详细")
    @NotBlank(message="岗位详细不为空")
    private String positionDetail;

    @Schema(title = "岗位名称")
    @NotBlank(message="岗位名称不为空")
    private String positionName;


    @Schema(title = "岗位要求")
    @NotBlank(message="岗位要求不为空")
    private String positionRequire;

    @Schema(title = "结束时间")
    @NotNull(message="结束时间不为空")
    private LocalDateTime endAt;





    @Schema(title = "最低月薪")
    @NotNull(message="最低月薪不为空")
    private Long lowestSalaryMonth;


    @Schema(title = "最高月薪")
    @NotNull(message="最高月薪不为空")
    private Long highestSalaryMonth;


    @Schema(title = "岗位类别")
    @NotBlank(message="岗位类别不为空")
    private String positionType;

    @Schema(title = "学历")
    @NotNull(message="学历不为空")
    private Edu education;


}
